import { Entity, Column } from 'typeorm'
import { BaseEntity } from '../global'

@Entity('version_flow')
export class VersionFlow extends BaseEntity {
    @Column({ length: 32, comment: '流水线ID' })
    flow: string

    @Column({ length: 32, comment: '项目ID' })
    projectid: string

    @Column({ length: 32, comment: '分支ID' })
    branchid: string

    @Column({ length: 32, comment: '仓库ID' })
    repoid: string

    @Column({ length: 32, comment: '版本ID' })
    versionid: string

    @Column({ length: 32, comment: '小版本' })
    versionName: string
}
